package cn.wzy.dao;

import cn.wzy.pojo.VisitLog;

/**
 * @author nihaowzy
 * @date 2020/12/26 16:29
 */
public class VisitLogDao extends BaseDao<VisitLog> {

    public void addVisitLog(VisitLog visitLog) throws Exception {
        String sql = "insert into visit_log (user_id, realname, customer_id, name, visit_time, descp) VALUE (?,?,?,?,?,?)";
        super.update(sql,visitLog.getUserId(), visitLog.getRealname(),visitLog.getCustomerId(),visitLog.getName(),visitLog.getVisitTime(),visitLog.getDescp());


    }
}
